package com.qyhl.webtv.module_circle.circle.complain;

/**
 * Created by qyhl on 2018/1/24.
 */

public class CircleComplainPresenter implements CircleComplainContract.ComplainPresenter {
    private CircleComplainActivity mView;
    private CircleComplainModel mModel;

    public CircleComplainPresenter(CircleComplainActivity mView) {
        this.mView = mView;
        this.mModel = new CircleComplainModel(this);
    }

    @Override
    public void doComplain(String topicId, String dstUsername, String type, String content) {
        mModel.doComplain(topicId, dstUsername, type, content);
    }

    @Override
    public void complainSuccess(String msg) {
        mView.complainSuccess(msg);
    }

    @Override
    public void complainError(String msg) {
        mView.complainError(msg);
    }
}
